package com.shao.commons.exception;

import com.shao.commons.domain.Codes;
import lombok.Data;

@Data
public class ServiceException extends RuntimeException {

    private Codes codes;

    public ServiceException(Codes codes) {
        this.codes = codes;
    }
}
